<?php
/**
 * Created by PhpStorm.
 * User: lg
 * Date: 2017/12/20
 * Time: 13:34
 */

namespace app\common\model;

use think\Model;

class Role extends Model
{
    public function getList($where = [])
    {
        $data = db('role')->where($where)->select();
        return $data;
    }
}